package cn.ddiancan.xddcloud.psc.base.feign;

import cn.ddiancan.xddcloud.common.entity.CommonResult;
import cn.ddiancan.xddcloud.psc.base.domain.CkMerchantEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "MerchantRemoteClientService", value = MerchantRemoteClientService.targetService)
public interface MerchantRemoteClientService {
    String targetService = "xddcloud-merchant-server";
    @GetMapping("/merchant/ckMerchant/queryByMobile/{mobile}")

     CommonResult<CkMerchantEntity> queryByMobile(@PathVariable("mobile") String mobile);

}
